package com.dms.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dms.entity.Suser;

import java.util.List;

//继承IService并绑定Suser对象
public interface SuserService extends IService<Suser> {
    List<Suser> listAll();//创建查询方法

    IPage pageC(Page<Suser> page);

    IPage pageCC(IPage<Suser> page, Wrapper wrapper);
}
